﻿namespace Chain.Model
{
    using System;

    [Serializable]
    public class Message
    {
        private string _messagecontent;
        private int _messageid;
        private int _messageisreply;
        private int _messagememid;
        private string _messagereplycontent;
        private DateTime _messagereplytime;
        private int _messagereplyuserid;
        private DateTime _messagetime;

        public string MessageContent
        {
            get
            {
                return this._messagecontent;
            }
            set
            {
                this._messagecontent = value;
            }
        }

        public int MessageID
        {
            get
            {
                return this._messageid;
            }
            set
            {
                this._messageid = value;
            }
        }

        public int MessageIsReply
        {
            get
            {
                return this._messageisreply;
            }
            set
            {
                this._messageisreply = value;
            }
        }

        public int MessageMemID
        {
            get
            {
                return this._messagememid;
            }
            set
            {
                this._messagememid = value;
            }
        }

        public string MessageReplyContent
        {
            get
            {
                return this._messagereplycontent;
            }
            set
            {
                this._messagereplycontent = value;
            }
        }

        public DateTime MessageReplyTime
        {
            get
            {
                return this._messagereplytime;
            }
            set
            {
                this._messagereplytime = value;
            }
        }

        public int MessageReplyUserID
        {
            get
            {
                return this._messagereplyuserid;
            }
            set
            {
                this._messagereplyuserid = value;
            }
        }

        public DateTime MessageTime
        {
            get
            {
                return this._messagetime;
            }
            set
            {
                this._messagetime = value;
            }
        }
    }
}

